package com.fuxi.cloud.desreport.model;

/**
 * ReportRow
 *
 * @Author: 扫地僧
 * @CreateTime: 2021-05-03
 */
public class ReportRow {
    private String index;
    private Object content;

    public ReportRow() {
    }

    public ReportRow(String index, Object content) {
        this.index = index;
        this.content = content;
    }

    public String getIndex() {
        return this.index;
    }

    public Object getContent() {
        return this.content;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ReportRow)) {
            return false;
        } else {
            ReportRow var2 = (ReportRow)o;
            if (!var2.canEqual(this)) {
                return false;
            } else {
                String var3 = this.getIndex();
                String var4 = var2.getIndex();
                if (var3 == null) {
                    if (var4 != null) {
                        return false;
                    }
                } else if (!var3.equals(var4)) {
                    return false;
                }

                Object var5 = this.getContent();
                Object var6 = var2.getContent();
                if (var5 == null) {
                    if (var6 != null) {
                        return false;
                    }
                } else if (!var5.equals(var6)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof ReportRow;
    }

    @Override
    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        String var3 = this.getIndex();
        int var5 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
        Object var4 = this.getContent();
        var5 = var5 * 59 + (var4 == null ? 43 : var4.hashCode());
        return var5;
    }

    @Override
    public String toString() {
        return "ReportRow(index=" + this.getIndex() + ", content=" + this.getContent() + ")";
    }
}

